<%@page import="model.Province"%>
<%@page import="java.util.ArrayList" contentType="text/html; charset=UTF-8"%>
<%
 request.setCharacterEncoding("UTF-8"); 
 ArrayList<String> typeRealEstate = (ArrayList<String>) request.getAttribute("typeRealEstate");
 ArrayList<String> typeService = (ArrayList<String>) request.getAttribute("typeService");
 ArrayList<Province> provinces = (ArrayList<Province>) request.getAttribute("provinces");
 ArrayList<String> districts = (ArrayList<String>) provinces.get(0).getDistricts();
%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>Insert title here</title>
<link type="text/css" rel="stylesheet" href="/css/ui-lightness/jquery-ui-1.8.18.custom.css" />
<script type="text/javascript" src="/js/jquery-1.7.1.min.js"></script>
<script type="text/javascript" src="/js/jquery-ui-1.8.18.custom.min.js"></script>
</head>
<body>
    <table>
        <tr>
            <td></td>
            <td>
                <div class="typeService">
                    <% for (int i = 0; i < typeService.size(); i++ ) { %>
                    <a href="<%=typeService.get(i)%>"><%=typeService.get(i)%></a>
                    <% } %>
                </div>
                <div class="typeRealEstate">
                    <% for (int i = 0; i < typeRealEstate.size(); i++ ) { %>
                    <a href="<%=typeRealEstate.get(i)%>"><%=typeRealEstate.get(i)%></a>
                    <% } %>
                </div>
            </td>
        </tr>
        <tr>
            <td>
                <div class="provices">
                    <ul>
                    <% for (int i = 0; i < provinces.size(); i++ ) { %>
                        <li><a href="<%=provinces.get(i).getAlias()%>"><%=provinces.get(i).getName()%></a></li>
                    <% } %>
                    </ul>
                </div>    
            </td>
            
        </tr>
    </table>
</body>
</html>